Starting an implementation using sockets and select

This is just some stuff I had lying around in other projects before I
decided to centralize