fixed #52, apply options.proxy