preparing to deprecate xio_get_connection from API.

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