[WIP] Complete implementation of websockets on the server

Modify existing code for websockets on the server to handle new requests/responses from the client.
Shouldn't this be,

```javascript
return connectedClients[this.username] && ...
```