ADDED: import and export completely

Fixed both import and export so that they use actual key exchange messages.