Make ip.h safe for user mode

Just shuffle things into plan9.h as needed.
A fuller reorg can come later.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>