Added tests for https and setting Certificate Authority;
Added functionality to set request Certificate Authority;
Updated to latest upstream/master;
Updated certificate and key to work with localhost;
Merge pull request #198 from RGBboy/master

Added Ability to set Certificate Authority for a request or agent.