have some problem with Arduino WiFi Shield?

I want to make my board function as both web client and web server at the same time. So I combine "WifiWebServer" and "WifiWebClient" together. I used "WifiWebServer" as the base code. Tested it and it worked well. Then I add the following code just before server.begin():
WiFiClient client;
client.connect(someAddr, 80);
However, this time, the web server cannot respond to any request.

Hi jia,

I've posted this issue in github. Please comment on it as it may expedite the fix: