Use buffers instead of strings!

Add a test that sends some non-ascii characters.