set up error handlers before connecting..
0.5.1
Merge pull request #30 from zeevl/capture-connection-errors

set up error handlers before connecting
Add authentication support
Tame NSQDConnection constructor parameter list

* Use an options parameter for all optional parameters for
NSQDConnection and WriterNSQDConnection
Better nsq configuration

* Refactored configuration validation
* Added tests for new configuration validation
* Added support for other nsq ```IDENTIFY``` options
* Updated documentation
* Bumped version
Document breaking change
Use `@constructor` instead of `this.constructor`
Revert using options for NSQDConnection
Remove options for NSQDConnection in Writer
Shorten authSecret valid check
Fix typo
Add back null check for authSecret
Remove unused conditions call
Bump npm version
Simple number check for `isNumber`
Make the conditional check for authSecret clearer
Fix README typo. Add msg_timeout support in README
Merge pull request #32 from dudleycarr/feature-auth

Add authentication support
Merge master