write method
Implementation
Socket write(data, options, [callback]) {
sendPacket('message', data: data, options: options, callback: callback);
return this;
}
Socket write(data, options, [callback]) {
sendPacket('message', data: data, options: options, callback: callback);
return this;
}