fix invalid HTTPServer socket member state