Merge pull request #147 from pedroigor/master

[PLINK-195] - ClassCastException when authenticating an Agent.
Merge pull request #148 from pedroigor/master

[PLINK-196] - Add HTTP CLIENT-CERT authentication support.
Merge remote-tracking branch 'upstream/master'