Connects a session to the inspector back-end.