<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_message(self, data, binary=False):
 """ Write a message to the client """

        self.connection.write_message(data, binary)