Query string parser and builder

Parse URL parameters or build a query string from key-value pairs.