First test with websockets

- Made a new client for websockets
- Moved the PHP client to a separate folder
- Edit the websocket server protocol to accept commands
- Minor cleanups and other changes