Random data generation and http connections