ec2.query: handling the case where requesturl is passed in