Adding implementation for accept(2)