Support headers given to res.writeHead

fixes #6