Only accept HTTP and HTTPS as protocol

We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server)

See https://github.com/owncloud/core/pull/11032 for the change in ownCloud and https://github.com/fruux/sabre-http/pull/14 for the PR for sabre-http
Fix unit test
Merge pull request #516 from LukasReschke/only-redirect-to-http-and-https

Only accept HTTP and HTTPS as protocol
Updated changelog.
Merge branch '1.8' into 2.0

Conflicts:
	ChangeLog
	lib/Sabre/DAV/Client.php
	tests/Sabre/DAV/ClientTest.php