use the channel's ioThread to run the event loop
Merge pull request #1 from jmesnil/master

use the channel's ioThread to run the event loop