Add initial support for OS X

Support darwin native utun device
Fix os checking of configure.ac
Add client up and down samples