fix json decode errors with jiffy
Workaround for sed error on OSX 10.7.2
…y behaviours mentioned in source, and JSON because .. well so we don't have to have the entirety to mochiweb.
Also, return generic error when callback is not present.
…s, some as binaries. Binaries are normalized (camel case), so requests for headers are case-sensitive.