Apply default timeout to WebSocketApp

This commit makes WebSocketApp aware of the default socket timeout.