Fix HTTP connections in the driver