Qualitative behavior of a class of second order nonlinear differential equations on the halfline