small net cleanup

- add comment for disabling sigpipe
- add closing comment in compat.h
- remove redundant check in net.h