hopefully fix JID handling in friend sync.  Fixes getlantern/lantern#851