SCTP fixes and m3ua prototyping

Hi, this request contains a few fixes and improves of SCTP output. It also contains prototype of m3ua output.