Make support for sided gates

#1881
I'm trying to minimize packets ids - if not getting rid of them in favor of RPCs whenever possible. Any way to at least fold all the above into one?