Reintroduce correct logging of response status of HTTP requests

Update breaking test so that it passes with this change.
Random change of new URI() to URI.create()