Fixed httpServ variable and HttpServer type cast
Fixed httpServ variable and HttpServer type cast