Abstracting sending/receiving messages in 'zephjs'