working draft of http-server

Has many errors, but I am a little stuck