Improve hostname detection and use hostname:port format
Make ETA estimation more stable
Cleanup exit behavior and stop eating all errors in pronsole
Remove check on non existing variable "force"
Rework TCP support to make it closer to Serial support

This is mainly done by using the file-like interface of socket objects.
Remove useless import