pothos-library: sanity checks for setup calls, ports

also, automatic slots only for non-private calls