Register TCP with IP only if session is enabled