Optimizing connection and session objects

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