Use java-websocket's new built-in support for subprotocol headers, and report accurately when and why a connection attempt by the client fails instead of always throwing a VersionMismatch even if that's not the problem.
Coverage increased (+0.1%) to 57.457% when pulling a697742b1d89caf5d630cba8e0f9a8115832fa8c on easier-handshake into 9a87fe023aaa5b88f9aa9c18360832747cebf32b on master.
Coverage increased (+0.4%) to 57.665% when pulling a697742b1d89caf5d630cba8e0f9a8115832fa8c on easier-handshake into 9a87fe023aaa5b88f9aa9c18360832747cebf32b on master.
Coverage increased (+0.4%) to 57.66% when pulling 9048c90d111f305d2bdb2c6a1fb7be7f2f14d64c on easier-handshake into 9a87fe023aaa5b88f9aa9c18360832747cebf32b on master.
Coverage increased (+0.4%) to 57.66% when pulling 35928b4bc59a17b8a93ff68e9511381ad57bfbcf on easier-handshake into 9a87fe023aaa5b88f9aa9c18360832747cebf32b on master.
Use java-websocket's new built-in support for subprotocol headers, and report accurately when and why a connection attempt by the client fails instead of always throwing a
VersionMismatch
even if that's not the problem.