Fix restoring waiting HTTP socket.
Added small hack to easily restart recovered session.