non b64 mode binary event handling. #178