Returning captain Ben Stokes insisted he had been "man enough" to apologise to his England team-mates after missing the last Test for breaching a curfew.