Implement server framework: (fixes #6)
 - treat signals (fixes #12)
 - async io (fixes #10, fixes #11)
 - accept and process connections (fixes #9)