updated connect

Automatically connects to nexus on server change, various reconnection
options, overrides escape packets with nexus reconnections to prevent
server change.
Merge pull request #10 from Nisuxen/master

updated connect