Use HTTPS for xmlrpc
Have the slave check the certificate of the master