Basic socket server is working. Note that it blocks on next_request.
We may need to switch to an asynchronous acceptor and add a timeout
on next_reqest (and/or signal handler).