Contact Id to Int and Port to quint16