Error handling
Merge pull request #12 from sergions80/patch-1

Socket error handling
Minor whitespace change
Event 'fail' now provides instance of Error

Interface remains the same.
Renamed 'error' event to 'Socket error' and provides instance of Error
Added 'Server error' to 'error' event
Added 'IP or port not available' to 'error' event
Fixed error message typo
Event error renamed err.input to err.settings
Readme: added fail event
Readme: added error event
Package version 1.1.0

* Better error handling, see Readme
* Fixed fixGeo() bug
* Changed Copyleft to Unlicense
Readme: updated Installation instructions
Merge branch 'master' into tk102-2

Conflicts:
	tk102.js