Add simple autofill for hostname and ip address

Change-Id: I5fb624634a3ee8429795ce574936d5db16c5bc41