[#590] Add localAddress() to NetSocket