Fix exception when missing Access-Control-Request-Headers