Fixes #3

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Check for command data under telnet negotiation packet

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

stupid slice fix for neg with data

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Add carriage return to login and ors write

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Initial test script commit

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Emit socket connection

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

test scripts pt1

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Remove wrong state setting after negotiation

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Remove telnetObj.telnetState = 'getprompt'; from 'negotiation'

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Add 'connect' event to readme

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>

Add socket.writable check before writing to the socket

Signed-off-by: Mario Kozjak <kozjakm1@gmail.com>
Merge branch 'master' of https://github.com/mkozjak/node-telnet-client