Support passing options to https

After upgrading to node 0.10, the https module defaults to checking SSL certs and throwing an error if it encounters a self-signed cert. Our CAS is hosted on a server with such a cert, so we need a way to disable this checking. I figured it would be best to just permit the using modules to insert other options as well.

(This request includes other new commits from master, but you can just cherry-pick 330c84c77b8052457f0dfd3493cce14f40804478)