Add proxy support, fix fileblock bug

Here's the patch.

As far as testing goes, I added a dump for user/pass for proxy.

Run Firefox from the command line to see it.