URLパーサー
URLを解析します。
URLParser: a parser to get value of host, protocol, port, parameters from an URL using regular expression
http://ntt.cc/2008/08/07/urlparser-a-parser-to-get-value-of-host-protocol-port-parameters-from-an-url-using-regular-expression.html