added ftp. removed misused endswith()
Merge pull request #57 from m8ttyB/remedy_redirect_tests

added ftp. removed misused endswith()