Issue #886: The preflight OPTIONS request now allow also the content-type header, required to use a json conten-type with POST requests.