Fix #2275 %s WebSocket version %s server handshake

Branch 4.1