setSocketType

open override fun setSocketType(type: SocketType)

Set if you want use java.io or ktor socket