Add websocket transport in client, fix server websocket transport, crash when the client connect to websocket directly