added ftp. removed misused endswith()

Two changes:
* Per conversations in #stubby with gozer and laura `ftp` is a trusted fallback mechanism
* We were misusing the `endswith()` method - https://docs.python.org/2/library/stdtypes.html#str.endswith - I've made a small a change that should correctly use the list of trusted `netlocs`