Better CORS support check.

Related to #50