Closes #109 - Set content type to "application/json" for compatability with the elasticsearch-transport-wares

If an error is detected, it will retry the request with the content type not set (because elasticsearch prior to 0.20.0 didn't set the correct CORS headers, the browser would block this request if Head was connecting to a host different to the one which it is on).