minor fixes for Flickr over SSL