Accept JSON

The new CIF server API requires the client to add the Accept field
specifying application/json.
Updated to use the new snort-rule tool