support multihome nlm clients.

Ported from 1.5: cff8788d3549ff2a4d2566089abedef845d3449c

Signed-off-by: Rong Zeng <rongzeng@us.ibm.com>