Configure the number of channels for SCTP servers too

We already do this on the client, but on the server we left the default.
Turns out that default is 10, which we hit.

Change-Id: Ib5d895e3a5feb478673bc362a800c9708b8b8b83
Signed-off-by: Brian Silverman <brian.silverman@bluerivertech.com>
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/network/sctp_server.cc b/aos/network/sctp_server.cc
index 894a1f1..33046d0 100644
--- a/aos/network/sctp_server.cc
+++ b/aos/network/sctp_server.cc
@@ -20,12 +20,21 @@
 namespace aos {
 namespace message_bridge {
 
-SctpServer::SctpServer(std::string_view local_host, int local_port)
+SctpServer::SctpServer(int streams, std::string_view local_host, int local_port)
     : sockaddr_local_(ResolveSocket(local_host, local_port)) {
   while (true) {
     sctp_.OpenSocket(sockaddr_local_);
 
     {
+      struct sctp_initmsg initmsg;
+      memset(&initmsg, 0, sizeof(struct sctp_initmsg));
+      initmsg.sinit_num_ostreams = streams;
+      initmsg.sinit_max_instreams = streams;
+      PCHECK(setsockopt(fd(), IPPROTO_SCTP, SCTP_INITMSG, &initmsg,
+                        sizeof(struct sctp_initmsg)) == 0);
+    }
+
+    {
       // Turn off the NAGLE algorithm.
       int on = 1;
       PCHECK(setsockopt(fd(), IPPROTO_SCTP, SCTP_NODELAY, &on, sizeof(int)) ==