Use enum XferMode instead of int, where appropriate
[cleanup] Remove some debugging code
Ignore files generated by autoreconf