Initial checkin of the connection type detection sample