function getParams(request) {
    // This can be null for manually-connected browsers.
    if (!request._parsedUrl.search) {
      return {};
    }
    return util.parseQueryParams(request._parsedUrl.search);
  }
Extract URL params from the request.

@param {express.Request} request
@return {!Object<string, string>}