Add random.seed() in x_forwarded_for constructor and use threading2 branch