Fixed a bunch of bugs, Json requests are now properly parased.

I fixed a bunch of the little bugs, I still need to work on making the rooms function..

Currently data is Base64 Encoded, I will make it AES with a key before final release.

Thank you.