As a test, you can try this:
// instead of this in getPage()
if(client.connect(ipBuf,80))
// use this
if(client.connect("www.domain.com",80))
As a test, you can try this:
// instead of this in getPage()
if(client.connect(ipBuf,80))
// use this
if(client.connect("www.domain.com",80))