add once and listenOnce support
Merge pull request #2 from 0xor1/dev

add once and listenOnce support