GO-2025-4179: Docker MCP Plugin and Docker MCP Gateway have DNS Rebinding vulnerability when running in sse or streaming mode in github.com/docker/mcp-gateway
AcceptWithContext accepts a connection or returns an error if the context is done. Note the caller still owns the listener and is responsible for closing it.