Added trusted certificates to https agent options to fix broken CA trust

Fix for issue #184