Changed Double to not use "ushort", instead using size_t.

Changed utils to use sysconf to lookup the size of hostnames instead of HOST_NAME_MAX.