'Create the dictionary headers to send the server in the handshake.'

def build_headers(self):

    headers = {}
    headers['Installation-ID'] = self.install_id
    headers['Platform-Info'] = self.platform_info
    if (self.attacks is not None):
        headers['Attacks'] = ','.join(self.attacks)
    if (self.data_attacks is not None):
        headers['Data-Attacks'] = ','.join(self.data_attacks)
    if (self.probability is not None):
        headers['Attack-Probability'] = self.probability
    return headers
