libt2n: (gerd) add protocol version config, add server callbacks (not fully working...