Adding a missing Port validation for the target URL when the user has PROXY settings enabled