fixed sws.send return value
use specific ws.send for node.js env
use specific ws.send for node.js env