This is well-tested URI parser implementation that has been developed strictly according to RFC 3986