add some more debugging if the XML-RPC login request fails
use SSL for connecting to the SSL endpoint (required for newer software releases and seems to work on older releases fine too)