Correct http module when using proxy. Fixes #230