websocket class now inherits a larger list of attributes from socket.socket