Add content type headers

Added headers:

Content-Type: application/json
Content-Length: (int)