Added proper CORS support as well as AutoOptions