Initial code commit.

Woring so far:
- create a listener on localhost
- poll for events
- accept connection

More will follow!