Move validateContentHeaders() to HttpMessage class, as it is needed in Response class as well