fixed #51, apply options.proxy