Include sys/socket.h in res/res_agi.c (bug 2490)