Cleanup partial message on reconnect

If a connection error occurs when part after a partial message is
received, the partial message needs to be cleaned up to prevent a
'protocol error' from occuring.

Signed-off-by: Michael Fraenkel <fraenkel@us.ibm.com>
Merge pull request #69 from sykesm/partial-message

Cleanup partial message on reconnect