Draft fake_socket class.