Added a write thread to the Peer class.  Removed the unnecessary disconnected state and connect events from both state machines.  Improved the test for connect/disconnect to validate thread states.  Made the send machine up to date with a Peer member and appropriate logging.  Improved the resond machine's logging as well.