Add .local to hostname if it's not already there. Honour the timings suggested in RFC 6762 Section 10.