Add a test script
Add callback to `listen` method

This mimics `node` core APIs.
Merge pull request #3 from mmalecki/listen-callback

Add `listen` callback