The host was part of the problem, I was also using IDE 1.0.5, this has issues with Wifi. IDE 1.0.3 works though.