Fixes submitted by Yopii

Missing ":" in Origin headers
Remove urlencode for $folder in listFolder
Remove short PHP tag in example/listFolder.php