Add support for HTTP/HTTPS URIs for images

Support is already in place for data URIs using dataWithContentsOfURL. 
Expand support for HTTP/HTTPS URIs too.