Not sure what you mean by `URI.parse` not being able to recognise SFTP:

```ruby
URI.parse('sftp://example.com/foo').scheme
# => "sftp"
```