ServerResponse#write and ServerResponse#headersSent implemented