Fix #418. Make sure none of the writes exceed 2M
Use Size() instead of encoding
Fix the logic that breaks the repsonse
Merge pull request #418 from influxdb/fix-418-break-large-requests

We shouldn't send requests or responses that are larger than MAX_REQUEST_SIZE