Added basic proxy support.