[osx-port] use IPPROTO_TCP instead of SOL_TCP
[osx-port] fix sendfile on osx
Merge branch 'osx-port' of github.com:xzero/x0 into osx-port