1. Now using Json.net for serialization
2. Using TLS instead of SSL so it would run...
3. Some refactoring