setSocketType

abstract fun setSocketType(type: SocketType)

Set if you want use java.io or ktor socket