Simple URI parser/builder