http://mbed.org/users/mbed_official/code/EthernetInterface/#f1b8651f8f29