Pass the correct socket error to connectionTerminated()
Wait for a resync reply before trying to resync again
Remove jank WP winsock header stuff