Tidy up generated SRM and FTP URIs

Remove unnecessary /srm/managerv2 from URI, unnecessary default port
(8443), and where generated URIs contained a double-slash (like
'srm://example.org/base/path//unique-id')