Ethernet Shield Disconnecting and Relay Buzzing

Have you tried the sketch without the 220v and light connected? Does it hang then?
Have you tried another voltage and device on the relay?