setHttpProxy

fun setHttpProxy(host: String?, port: Int = 0, username: String? = null, password: String? = null)

Route all outbound TCP dials through an HTTP CONNECT proxy (HTTP Basic auth when given).