Added proxy support with flag -p