jetty: Extend test_headers for encoded params
jetty: Don't rely on Request.getPath including query params

Prior to 9.0.3 query params were included. This changes in 9.0.3. The
fix used getURI() methods instead so it works for all current 9.0.x
versions.