Fix http server.
Merge pull request #8 from robxu9/http

Fix http server.