Not base64 encoding for no reason when using websockets

We're missing some crucial tests that make sure we're using the expected encoding/decoding for situtations. I'll write up some tests to make sure this doesn't happen again.