Moving fd sending/receiving functions to libtee

Change-Id: If01deb3026daef101540548efca7ffd8cae1aad5
Signed-off-by: TanelDettenborn <tanel.dettenborn@intel.com>