Fix sorting of command options in Net::Remctl::Backend

Change-Id: I58ed109bc525ff1d0e6aa1d04eeafefe636fc4ce
Reviewed-on: https://gerrit.stanford.edu/1341
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Fix Net::Remctl::Backend argument count validation with stdin

Fix Net::Remctl::Backend argument count validation when one of the
arguments is coming from standard input.  The count of arguments was
previously not updated properly after splicing in the extra argument.

Change-Id: Ib7347e4a22e2563da7a73ec854111c8b1492775a
Reviewed-on: https://gerrit.stanford.edu/1342
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Update protocol specification for xml2rfc 2.x

Add the additional required metadata to suppress warnings, which
means this claims to be an Internet-Draft that's not been
submitted.  At some point, it should actually be submitted.  Be
clearer in the additional license section about the intended
license grant.  Adjust the xml2rfc calling convention for 2.x.

Change-Id: I4f8b01ae180821be8adb964f0e45b27d3cddd634
Reviewed-on: https://gerrit.stanford.edu/1343
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Report better error message on bind failure

Include the listening port that we were attempting to bind to when
reporting a bind failure.

Change-Id: I96df4eec3eac28b563cb2d3ec9395ca3a90cbab6
Reviewed-on: https://gerrit.stanford.edu/1348
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Close memory leak in remctl_set_ccache

Fix a client memory leak when remctl_set_ccache is used with a
Kerberos library that supports gss_krb5_import_cred.  The credential
was never freed, leaking memory with each remctl client call, and a
Kerberos ticket cache struct could also be leaked in some situations.

Change-Id: I21cf03a289bb23da690a9ea017fe0e504460a0d9
Reviewed-on: https://gerrit.stanford.edu/1349
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
Add some additional TODO tasks

Change-Id: I2fac77b1f146db6594efa4d690353b42e2a22fe7
Reviewed-on: https://gerrit.stanford.edu/1351
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>