support http proxy

This is **optional** for you to merge. I just want to play it behind proxy.