Change socket to curl per Mixpanel support's suggestion