Updated make_connection() to support AWS

* Reading region info from the config
* Deciding is_secure using EC2_URL

Signed-off-by: Shashank Sahni <shredder12@gmail.com>