Bug #4794 and #4766 : fixing SilverCrawler download and upload problems
- fixing several errors
- improving several treatments
- fixing severe security holes (by modifying request parameters)
- refactoring some code