Support for aria2 user/pass, error trapping

Add support for BasicAuth connection to XML-RPC server.
Add error trapping where errors are actually raised (not on connection
but on first attempted use of the API).
Add required config fields. (Except for ‘do’ this is mostly useless as
defaults are provided for server and port.)