Changed encryption in python to use Base64 rather than my silly thing.

i.e. no more reinventing the wheel :)
Also added a new type of error.
Now reading and decrypting the ID of the client's SecureElement.

I think this will probably have to be stateful, accessed using the
paired_listener function.