reimplemented accept, receive and connect methods