Fix add_soup: Content-Type might not be present

In some cases, headers might not contain key 'Content-Type'.  Therefore
first check if key is present before getting its value.
merge pull request from mkouhia