Initializing sockets and HTTP demos.