Imports github.com/gorilla/websocket github.com/satori/go.uuid github.com/sirupsen/logrus github.com/namsral/flag github.com/x-cray/logrus-prefixed-formatter github.com/eclipse/paho.mqtt.golang/packets Standard library imports bytes crypto/tls crypto/x509 encoding/json encoding/pem errors io/ioutil net net/http os strconv sync sync/atomic syscall time os/signal