Fix issue when trying to reconnect existing node
Add a test for same-node reconnection
Merge pull request #66 from robinedwards/hotfix_reconnect

Fix issue when trying to reconnect existing node