Imports github.com/aws/amazon-ecs-agent/agent/logger github.com/aws/amazon-ecs-agent/agent/utils github.com/aws/aws-sdk-go/aws/credentials github.com/aws/aws-sdk-go/internal/protocol/json/jsonutil github.com/gorilla/websocket Standard library imports bufio bytes crypto/tls encoding/base64 encoding/json errors io io/ioutil net net/http net/url reflect strings time