Add open_clientfd and open_listenfd method