test for #492
fix #492
Merge branch 'master' into issue-492

Conflicts:
	src/colony/modules/http.js
Merge #525 r=@jiahuang: Send 0-length chunked response on server's `res.end()`

This fixes #492 without changing the logic w.r.t client requests (where body-less messages are more properly expected).
Fixes support for replacer functions. Closes #529
Corrects JSON test to evaluate all tests.