A synchronous socket API for node.js and Marionette