http://mbed.org/users/mbed_official/code/EthernetInterface/#2fc406e2553f