switched library to all https support

Please review and consider my changes to switch library to all https requests.

also, not all tests pass due to rate_limit issues on test account. passed all tests except expand with my personal api key.