Add keyboard control to mock sock