[reply] add ability to set statusCode and headers.