Fix request stream exhaustion error by copying the original NSInputStream