'Send array of lines to client via connection.
Join lines using the terminator that is set for this class, encode it
and send it to the client.'

def send_lines(self, lines):

    if (not lines):
        return
    data = self.join_lines(lines)
    self.connection.queue_send(self.encode(data))
