use ssl endpoints for Flickr, fix for #8

Also, some whitespace cleanup