Fixed JSON/String incompatibility in tests.
Big fix: missing requestHeaders argument in test.
HttpTransport modified: all requests are sent in specified intervals.
Check if request type is json and throw exception if it is not.
Merge pull request #6 from cleandart/fix-timer

Fix timer