fixing overriden MySocket.accept() method