We need to read from ep0 to poll for events. Test: test_device.py Change-Id: I59602c20f5dfdb17bfbab13d3033e9333a51caf3
Extract common functionality that will be useful for implementing a nonblocking Connection for functionfs. Test: mma Change-Id: Iae4f3d55b2f56568d4a5138db9a2af5622eb83ad