Inserting empty string for proxyPort and proxyHost if no value entered.