Rudimentary implementation of an RFC2616 server