of

fun of(host: String, port: Int): String

host and port as an address: host:port, [ipv6]:port. A host already in brackets stays as it is.