Support HEAD response (undefined response body) on RESTAdapter

This PR allows the ``RESTAdapter`` to handle HEAD responses which have an undefined response body, as distinct from an empty response body.

Test included.