I mentioned you have 'toReturn' stuff in there which is wrong, you do not ever return anything when working with async code you call events when you finished.
One way of doing it using express is something in the lines of:
server.get('/querySomethingElse', function(request, response) {
var opts = {
host: "some.host.com",
path: "/x",
method: "GET"
}
var req = https.request(opts, function(res) {
res.on('data', function(someResult) {
response.send(someResult);
});
});
});