Taking into account other potential values for constructor

### Problem
Right now the XMLRPC ignores other potential values for constructor, for example when the connection needs to be established over ssl.

### Fix
Pass values to constructor from the `config` variable.