wrap the chunk fun so rcouch-couch doesn't depends on mochiweb