add connection test.

websocket to websocket : done
NSDistributedNotification to websocket : done