basic capability negotiation

- multi-prefix is supported as an example

completes #5