Change to ISP programming from debugWIRE debugging
Add code to set Socket0 mode, and check the status