update api URL and support proxy
Merge pull request #6 from windix/master

Update API URL and add proxy support