Firefox now requires HTTP/1.1 or higher, which is reasonable since 1.0 is
ancient. The Upgrade response and WebSocket protocol handling are all
HTTP/1.1 safe, so let's just support both versions.
This will cause the length not to match the result if it happens, but the
client should interpret that as a server error.
Also a similar error in headless.