New APIs for SocketClient