MediaHTTPConnection: move connection states into an inner class

Bug: 119900000
Test: go/ag/5140159
Change-Id: I8edae85ea614dd537758f342c0c4b57be09c2da5
2 files changed