fix for handling of SSL connections after heart bleed bug fix. also updated AWS key used in media upload