mod_rdp receive reference of Random object.
Use parameters given in a structure to create mod_rdp instance.