NFSD: Refactor transport addition out of __write_ports()