socket: add localAddress and localPort

Socket: Add localAddress and localPort to match remoteAddress and remotePort

fixes #4458