Added support for CORS+OPTIONS