UnicodeDecodeError occurred when trying to connect to the server with HTTPS. The error
was not caught by the broad Exception clause in `handle_agent`, causing a traceback
to be dumped.
Addresses #1 by logging registration with extra fields. It would be possible to ignore
extra fields, but for now it's better to silently fail to prevent spam registrations.