Properly parse image urls

Don't strip out excess `/`'s from the scheme.
Merge pull request #2 from stevenharman/fix-image-url-parsing

Properly parse image urls