Add initial server implementation

Includes some minor refactorings after the last real test, so might be
broken
Merge branch 'master' of https://github.com/schmichael/minnow