add send(2)/sendto() glue code

this makes gethostbyname(2) successfully returns a name with DNS query