bugfix random port range failing in murder client

A random port selection from a port range has moved to being selected at the beginning of runtime.  My last random port select broke herd.  This one is actually tested.  Apologies for breaking your upstream copy.  I'm in the process of integrating horde into herd again.  Once that is done I'll likely start working on unit testing the program.  When things are unit tested code breaking merges can be avoided.