log http response body, use Apache TeeOutputStream to reduce code