initial draft of 'portal mux' socket connections
added 'buffer' parameter to SENDMSG function of PortalItemFunctions handlers
(needed for mux support).

also, first (still non-working) draft of support for portal mux