Added OSX support; uses different tcphdr/udphdt structs