Fixed connection registration message; added ip to hostname lookup.