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