daveg: adding the addressable gem, and sprinkling some Addressable parsing into the parse_uri method.