Manual connection handling (link recovery) for TCP client

MODBUS_ERROR_RECOVERY_PROTOCOL still handle flushing to avoid
to receive old data when the cable has been unplugged for example.