Update json-socket.js

Exposing remoteAddress and remotePort