code: func NewHTTPHandler(c libnetwork.NetworkController) func(w http.ResponseWriter, req *http.Request) {
  	h := &httpHandler{c: c}
  	h.initRouter()
  	return h.handleRequest
  }
docs: // NewHTTPHandler creates and initialize the HTTP handler to serve the requests for libnetwork