[ios] Adding socket.getInfo