only cast input buffers to string before sending as data - things like ArrayBuffer should fall through
0.1.3