add http request related stubs.