defer on_open to EM.next_tick. fixes #135
Merge pull request #137 from moaa/master

defer on_open to EM.next_tick. fixes #135
Merge remote-tracking branch 'danknox/master' into develop