Add support for using https with bulk APIs.

Currently, the host used for specifying the host to use for bulk APIs only supports using HTTP. This fix will allow the HM to use the bulk APIs for HTTPS.

These are the first rspecs I've ever written so please let me know if there are problems. I'm happy to fix them.