Escape params used as path segments in plugin resolution service query.
Test that responses containing utf8 are not mishandled.
Tidy up of implemented test coverage.