fix regression: only add client callback when it's available(XwareAdapter)
fix XwareClient: use postJson2 instead of postJsonP2 for post_settings
1. more socket error defined;
2. add DATE to shared/__init__.py
3. add REQUIRE_DATE to frontend/__init__.py
4. xwared can log now :)