URLBuilder

fun URLBuilder(protocol: URLProtocol = URLProtocol.HTTP, host: String = "", port: Int = DEFAULT_PORT, user: String? = null, password: String? = null, pathSegments: List<String> = mutableListOf(""), parameters: Parameters = Parameters.Empty, fragment: String = "", trailingQuery: Boolean = false)