wsmc skips the HANDSHAKING phase, so it does not use MC protocol encryption. As an alternative, it should support using secure websockets (the 'wss://' protocol scheme instead of 'ws://').
This is likely a trivial change, substituting ws with wss in the URL, but testing requires a valid certificate (perhaps use: https://letsencrypt.org - though it seems https://deathcap.github.io also has a valid cert, but we need one on the ws server)
wsmc skips the HANDSHAKING phase, so it does not use MC protocol encryption. As an alternative, it should support using secure websockets (the 'wss://' protocol scheme instead of 'ws://').
This is likely a trivial change, substituting ws with wss in the URL, but testing requires a valid certificate (perhaps use: https://letsencrypt.org - though it seems https://deathcap.github.io also has a valid cert, but we need one on the ws server)