// Client returns a new muxado client-side connection using conn as the transport. func Client(conn net.Conn) Session { return &sessionAdaptor{proto.NewSession(conn, proto.NewStream, true)} }
// Server returns a muxado server session using conn as the transport. func Server(conn net.Conn) Session { return &sessionAdaptor{proto.NewSession(conn, proto.NewStream, false)} }