Fixed response writer wrapper

Signed-off-by: Vishal Rana <vr@labstack.com>