HTTP: add content-type: application/json header
Merge pull request #45 from jpfuentes2/jf_use_json_content_type

command/agent: add content-type: application/json header to HTTP API