Fixed HTTP proxy threading problems.