[#70915820] Ported connection_context to new protocol format

Next: port rest of program to new protocol