Added code for variable size transimit. Receive side is wip..
Caution!! untested code.

Signed-off-by Ajo Jose Panoor <ajopanoor@gmail.com>