Handle OPTIONS request correctly