Added "message capture" functions to basic server.