Adding condition to Request constructor to allow processing of json requests.
Checking that Content-Type exists in request headers.
Merge pull request #5 from iorbitearth/master

Adding condition to Request constructor to allow processing of json requests.