Use JSON encoding on all requests.
Merge pull request #1 from averagesecurityguy/json

Use JSON encoding on all requests.
Json issues resolved
Add proxy support. Leave it commented out until needed.
Merge pull request #2 from averagesecurityguy/proxy

Add proxy support. Leave it commented out until needed.
small update