SocketFactory instead of socket