osx has no nonblock flag on socket
missing ref to octal