Add support for HTTP/HTTPS URIs for images

Support is already in place for data URIs using dataWithContentsOfURL. 
Expand to include HTTP/HTTPS URIs too.

This will cover issue #303