Merges pull request #23 by 6uliver: Fixes deserialization and sctp endpoint creation issues.