UPSTREAM: go-restful, fix race conditions https://github.com/emicklei/go-restful/pull/168