Fixing SSL URL and commenting a reported connection bug in the socket fallback code, note that by using php5-curl the code is fully functional.
Correcting socket connection to use SSL as required by Flickr changes
Merge pull request #20 from fbianco/master

Correcting socket connection to use SSL