Reset data pointer to start on reconnect.
Track failures thrown during reconnect.
Catch econnreset.
Catch ETIMEDOUT from write().
Merge pull request #3 from mheffner/feature/reconnect

Feature/reconnect