Protects against JVM crash when closed SCTP socket is used by checking for null pointer and throwing IOException. Adds unit tests for SCTP wrapper.
Fixes Sctp.init() and Sctp.finish() handling. Fixes crash in SctpSocket.onConnIn.