Fixed Errors in HttpServer