Fixes deserialization and sctp endpoint creation issues