Update api calls to use https

- updated apis calls to use https
- updated upload and replace endpoints to use https://up.flickr.com...
- updated line 208 to match https