added a basic server in order to try the subtype_2

!!!! -> test client is out date.
!!!! -> the server is actually not casting the received object but still use the object serialisation.