crytpo functions work with Bufs and Strs
create a testserver script and test helper class

for making it easier to start and stop the server for tests that need it
use test helper in tests that need it
remove debugging statement
try and stop test 3 returning non-zero

the tests pass but the test harness receives an error
hopefully implicitely exiting with a 0 status should fix this
make a direct call to random_bytes and return bin
change key to use binary encoding

key is stored in base64 in memory and decoded into binary when
encrypting/decrypting
use Inline::Perl5 to to the base64 encoding

Perl 6's MIME::Base64 is too slow
avoid encoding/decoding base64 as much as possible

base64 en/decoding is rather slow and there were places where it was being
done rather wastefully. For example, when requesting the key from the server
it would be sent in Base64, and then decoded into binary, only to be encoded
back into base64 to be stored. To avoid this we store the binary where we can
and the only place we truely need to use base64 is when stompd is sending
the data to the client
save the base64 encoded key on the first call

this avoids the server reencoding the key each time it is requested
tests for Base64Key