Added support for off-mesh connections.