413155 refactor HttpTransportOverSPDY to fix some bugs and reduce cyclomatic complexity