Use lambdas for prompt and reph-prn functions.
Use lambdas for prompt and reph-prn functions.

This allows the compiler to closure over msgsock, which allows multiple connections to the same server.

Scriptor/reph