Correct headers to be served when JSON-API pull requests is merged

It looks like JSON-API lacks proper HTTP headers. There's no functionality to pass a custom header if needed.
I've created a pull request [https://github.com/dphiffer/wp-json-api/pull/11] it will take optional headers and will serve em appropriately.