add response write method with status and headers parameters