Removed custom zframe API

- not needed, now that we have zproto
- also fixed some other issues