Connect to MongoDB and insert events.
Expect JSON in (r *Request).Body.