If content-type is "application/json", we'll process the request as of old JSON write API. Otherwise, we assume line protocol but check the first byte in case a older client is still sending JSON without the correct content-type header.