fix to connection callback handling.  if bridge is already connected when connect() is called, it should correctly fire the event