the readline socket client
npm install rl-socket-client


we ought to just pretend it stands for rocketlauncher-socket-client. that's way cooler, right?
this module was designed for apps that require a basic tty interface for socket programs - a tcp chat client, for instance. it affords tab-completion and a simple api.
#### api
- #connect(): initiate a connection to the given host and port
- #on(event): currently the only event emitted is connected
- #write(text): programmatically send text over the wire
#### usage
``js
var rlsc = require('rl-socket-client');
new rlsc({
host: '192.168.128.100',
port: 1829,
prompt: '% ',
lineEnding: '\n',
connect: true,
completions: ['ls', 'pwd', 'cat', 'echo']
});
// or
var client = new rlsc({
host: '192.168.128.100',
port: 1829
}).connect();
client.on('connected', function() {
client.write('blah blah...');
});
``