This is the server-side part of the cardproxy