Silenced jshint warning for abstract authentication method
Merge pull request #52 from krnekit/master

Silenced jshint warning for abstract authentication method
Update mechanism.js
Close stream with error if 'to' not specified
Added tests for streams without proper 'to' attribute