Added HttpResponse::alterPart() to easily alter part of the reponse body. Done here for optimization, so PHP doesn't copy the output body string too much (if it was done manually outside of the class).