Created http threads and listeners