change endpoints to https to abide by new flickr rules