Problems with nonlinear boundary conditions for a hyperbolic equation