http: Do not let Agent hand out destroyed sockets

Fix #4373