Implement an event system
Add echo server, fix bug with non-integer sockets
Take responsibility for closing