Changing the connection determination logic so it will not error on a fresh connection.
Merge pull request #130 from volnix/master

Changing the connection determination logic so it will not error on a fr...