send_data only needs data.

size of data is calculated as and when needed.
use the new send_data format.
added stream to portmode.