Generate a random HTTP status code

Generates a random HTTP status code from the specified range. Duplicate ranges can increase their probability.