Add local address matcher to check_listening method.