Simple messaging API using the Cornice web framework (Python)