Revert "spdy: fix error in http.js"

This reverts commit 4d3806f66b7afa8531a19dbbd188eb6b4bf6c16f.