Added linux server.

- Added listen functions
- Bound posix server to listen
- Fixed up handshake