Use UTF-8 encoding for client registrations.

facilitator-reg-url was receiving registrations in UTF-32
encoding and passing them on verbatim to getaddrinfo(), which
caused it to return bogus results.