Bugfix in hosts key exchange