Democrats stunned by socialist NYC primary victory