Nonlinearity and chaos in the dynamics of hanging cables