Fixed request body reuse in http transport

Lesson learned from elasticsearch/elasticsearch#5141: always put proxy in the middle before submitting issue.