[misc] migrate setting of limit for http/https sockets into entrypoint GitOrigin-RevId: 2ff568bf89d3175b48246db3645a91428624b31f