adding code to trace CLI connection at the socket level

Enable this by setting the 'hudson.cli.CLI.protocolTrace' system
property to the directory that receives log files.