open_clientfd(char *, unsigned short), and revisions on fd functions