Modify changes to test TCP socket.

Dependents:   EthernetInterface

Fork of lwip-eth by mbed official