fix for bug #3517 HPUX hosts truncate the hostname to eight characters

modification of utsname functionality #1
Merge branch 'hpux-fix-hostname-3.5.x' of github.com:McAtte/core into hpux-fix-hostname-3.5.x