Merge pull request #42 from mikey179/master

fix #41
ignore cache dir
fix bug when port is also in  because user agent sent according host header