StringRef: add a few methods
uri: add an url parser
rpc: fix a warning