Fixes bad StringIO call in common/http.py

There was a uncatched StringIO.StringIO() call during refactoring of
imports. It should be simply StringIO().

Change-Id: I64b4b73eaeaf7ddd74b9b790733afee38879e237
Fixes-bug: 1240993