Added ability to run command passed via argument
Remove auto-exit and log file options. If you want log files, use tee instead.
Split arguments and command in two separate parameters. Allow proper cancellation of the server without writing out socket exceptions (as they are expected when cancelling).