HI there!

This commit should:
- Fix bug #2 (Corrupted Downloads)
- Do correct Content-Disposition handling

IMPORTANT: These changes were not tested! I gave up making Eclipse compile the project after ~3h of downloading, installing, head-banging, screaming, cursing... If you could test this and give me feedback (or tell me way Eclipse refuses to build anything other than *.class files) I'd be glad to help. ;-)