add 'localAddress' support
Merge pull request #513 from yyfrankyy/master

add 'localAddress' support