See commit: https://github.com/cyderize/rust-websocket/commit/3e738df3c219eaec3ff5b534d9aaf77c996c3811 Current workaround is to copy paste parts of the code, but it would be nicer to just have the relevant additions on crates.io :)