Update rproxy.js

support https