Strip Spaces from Gateway URLS

Summary

If a user copy + pastes a gateway URL from a document or email, spaces may accidentally be prepended or appended to the URL/ URL + SECRET

Version of the software & operating system

Win 11 / 1.6.2

Steps to reproduce

Put a space in front of https:// in your saved profile

Actual results

Full Crash. Application exits no errors, no pop ups

Expected results

Connection completes ignoring user typos

Possible fixes

URL is stripped of spaces (or in the middle, urlencodes spaces?) so the application continues to connect