Fix request retries
Add missing }
Fix content length
Convert data strings to buffers (ensuring correct content-length)
Merge pull request #1 from HBOCodeLabs/jstamerj/retryFix

Fix retried requests (ATV-660)