Implement gethostname(); fixes #29