added ability to specify messaging port range when allowing builder to find free port