made errno checking sane during accept()