Update hub.

Remove XMLRPC communication backend and replace it with
a proper API.