Adding unit tests for the Trace API; fixed some minor bugs found while
doing so.
Merge pull request #4 from proftpd/trace-unit-tests

Adding unit tests for the Trace API; fixed some minor bugs found while