Corrections officer beaten by inmate