Fixed Bug in HttpServer