Parse query string parameters from URLs