handle binaries in websockets