Remove depreciated code from codegen.
Remove depreciated code from http.
Merge pull request #165 from Ryman/master

Merge pull request #165 from Ryman/master