server: Add a MockConn
to enable testing connections
#30119
Merged
MockConn
to enable testing connections
#30119