Updated rest.node to make the opts a querystring