Cache pac file

A proxy pac file which is on remote machine should be cached.
This PR is for #2.