WebApplicationException extension to support response entity.
Connector minor cleanup.