Update hostkeys.py

Changed Hostkeys.load() so that it also loads from io.StringIO objects.