Adding check for content-type header
Merge pull request #1078 from kstaken/fix_json_error

* Remote API: Small fix in /start if empty host config