Add compatibility layer with old spamc.
Process compatibility methods.
Update method from http parser to http message.
Use is_json for compatibility output.