inf-name-resolver: Include <arpa/nameser.h> and <arpa/nameser_compat.h> (#7)

This fixes the build on Mac OS X.
infinoted-plugin-document-stream: Only use MSG_NOSIGNAL if available (#7)

This is a build fix for Mac OS X.