switched to input/output stream so it now works for binary data (say, ws) as well
now works for binary as well; all bytes are printed to stdout
sniffer version 0.1.10