free memory upon exit

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Fixing compilation errors on Ubuntu

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
Fix memory leak upon error

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
distributing client threads on online cores

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>
default event loop's file descriptors are now handled by default as
edge-triggered instead of level-triggered - see epoll man for more details
user has the option to add file descriptors with XIO_POLLLT -  which is level-triggred
events

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>