We want to stay as close as possible to upstream. Thus, 4.2.0 should include the latest version of https://github.com/astrand/websockify/tree/master
Fixed in 28170.
Another minor update in 28214.
On bug #4840 comment #3, the last bits got in place. We are now in sync with upstream.