Use the new request class to make requests.

I have confirmed the requests are going through for secure clusters thus un secure clusters should not have an issue.

We might have bugs in the changes i made and i think it might be easier to fix the issues post merge as more people can debug and fix the issues.