Imports github.com/namsral/flag Standard library imports bytes crypto/tls encoding/base64 encoding/json fmt io io/ioutil log net net/http net/http/httputil net/url os strconv strings time