[addressbook.py] Add "connect" function