Fixed a memory leak and added host to network byte order conversions to GraphHost.