Make the interface closer to websockets.