Imports github.com/bitly/go-nsq github.com/bitly/nsq/util github.com/bitly/go-simplejson github.com/bitly/nsq/util/lookupd Standard library imports bytes encoding/base64 encoding/json errors flag fmt io io/ioutil log net net/http net/http/httputil net/url html/template os/signal os regexp strings time