Huge refactor of HTTP stack.
Constants.