HTTP uses new sockets API.