Merge "Implement autoconnect for PAN."