Fix for firewall issues and elastic IP issues with EC2-classic (FB #4425)
Refactored duplicated getClient() method out of various places and moved to AWSCloud. Added gzip compression support.