add waitForInbox utility
Merge branch 'master' of github.com:blackchair/parley