Ethernet: removed useless casts in avr/w5100 class
Fixed wrong behaviour of EthernetClient::flush().

Fixes #1576
Merge branch 'eth-fix' into ide-1.5.x

Conflicts:
	build/shared/revisions.txt