Improved read command of the connect function.
Improved read command of the connect function.

* Support newline by using (pseudo) EOF as the delimiter
* Read silently, as most processes should handle the input display themselves.
* Improve handling of other special characters (delete, tab, arrows) by using
  echo -ne

Kafito/lacl