requests 1.1.0 support for https connections

Session creation has been changed since 1.1.0. This commit is for adapting those changes.