Add chunk parameter of overloaded finish method

Problem example:
write_error() in ReqeustHandler calls on finish() with a chunk parameter, leading to the uncaught exception "finish() takes exactly 1 argument (2 given)".