go fmt.
Merge pull request #1 from akrennmair/master

fix formatting; fix minor issue in connection upgrade detection.