Update Client.cs

Updated the random function to use NextDouble (between 0 and 1) for true random sample rate (int was dumb, not sure what i was thinking a year ago).

Using a better pattern for the lazy loaded singleton.