small cleaning of header parsing
renamed HTTPServer to Server
reworked interaction between application and server, server passes
request object to application
encapsulated requests and responses into objects, fixed parsing of
requests added generation of response string