Fix #277, add socket.h to interfaces on darwin
Merge pull request #283 from facebook/fix_sockaddr_inc

Fix #277, add socket.h to interfaces on darwin