sockly.js cleanup, doco