First pass at converting fix to a library.

Places netipv6zone fix into own program.