Removed compile errors. Still WIP.

TODO:
- Request, initial handshake
- Implement timeouts