Accelerated First-Order Optimization under Nonlinear Constraints