fix SPR SPR 25465: invalid HTTPServer socket member state