Trouble with WiFiWebClient

I got the following shield:

Now, I am trying to use it with Arduino UNO-R3 (IDE 1.0.5) and run the following example:

But, the call client.connect(server, 80) is returning false. The shield is connecting to the AP and getting the IP address.
Please note that I tried IP address as well.

Here, is the output:
Attempting to connect to SSID: 2WIRE891
Connected to wifi
SSID: 2WIRE891
IP Address: 192.168.1.75
signal strength (RSSI):-50 dBm

Starting connection to server...

disconnecting from server.

Downgrading to Arduino 1.0.3 solved the problem.

Seems there are more problems with Wifi shield :0
The wifi connection is not persistent. The connection goes on & off.

I am using the following library for building a WebSocket client:

The client worked fine on Ethernet. But with WiFi, client.connected() is returning false after couple of seconds.

Any suggestion?