added serialize2Int

must test client-server connection, after update also client SSH