Generates headers for responses in private methods

Refactors the buildResponse() method for the response builders by moving
the header construction into private methods, keeping the main public
buildResponse() method clean and easy.
Deletes now-unused PhantomRequest exception class