send/recv functions return the size of the message

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>