Finished basic port of the HTTP Handling