Added options to use proxy with authentication