Socket.gethostname always fails.