Add support to HTTP proxy, fix issue #22

Add support to HTTP proxy, fix issue #22