send one line at a time to socket
Merge branch 'master' of https://github.com/thinkcopter/thinkcopter-client
resolved merge conflict with master