Fixed offline emitting when attempts === 1.
On branch test
Changes to be committed:
modified:   lib/cocker.js
modified:   test/reconnection-loop-test.js
Added version 0.4.5.
On branch test
Changes to be committed:
modified:   package.json
Some tests on me.attempts counter.
On branch test
Changes to be committed:
modified:   lib/cocker.js
new file:   test/event-test.js
modified:   test/reconnection-loop-test.js
Now it seems to work as expected.
On branch test
Changes to be committed:
modified:   lib/cocker.js
On branch test
Changes to be committed:
modified:   lib/cocker.js
Some fixes.
On branch test
Changes to be committed:
modified:   lib/cocker.js
modified:   package.json
Merge branch 'test'

Conflicts:
	lib/cocker.js