Remove request.end(), as pipe() will end the request on its own.