fix memleak when role h1 failed to upgrade to websocket
fix memleak when role h1 failed to upgrade to websocket

sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets,sartura/libwebsockets