WIP : major refactor of socket wrapper to match sails.io.js behavior for .10+