Add support for new socket system calls.

This change adds support for bindat(2), connectat(2), and accept4(2)
system calls.