Middleware for Go net/http to limit concurrent requests