Added support for the full CORS preflight request