use Mixpanel's HTTPS API endpoint

Since Mixpanel data is potentially sensitive.