send keydown and keyup events to proxy