Change-Id: Ie3454cac318ce6a0e8c2c59ae9d3ae3c6658c0b8
Based on Mobile/TestFakeSocket/TestFakeSocket/main.mm. Needs work, does not really test the interesting semantic corner cases that have been fixed only recently. Change-Id: Ie2f3dbd2b478ab3acb4bfef0e0d3031c817d0f37