Golang Net Http Middleware Nextjs