websocket now add a client in the open connection and connection.js manage the open and connect methods.