allow passing isSecure: true in config to connect to magento apis using https

Hi, thanks for the module, wanted to propose a simple change to allow connecting to https magento apis