Use Addressable::URI.parse before URI.parse

Since URI.parse cannot handle a url containing [], rscribd treats the url as a file path.

Fixed this bug by using Addressable gem and added specs.