support sending data as binary on socket.io v1.0