Implemented tests without clients.
Extracted key util to store and restore keys in strings.
Encrypting only nonce value, not whole JoinConfirmationMessage.
Fixed bug in KeyAuthority where the handler did not get changed.