Refactor address printing and setting for NetFD.
Refactor syscall error reporting.