Bugfix, prevent IndexOutOfRange when receive no text
Incapsulate output in NetCat
Fix NPE
Simplify test
Remove disconnect races
Merge branch 'feature/task_3' into dev