stubs for socket-based backend