modify availability check for newer freeswitch version
FreeSWITCH now seems to use authentication for the /ws
endpoint. Therefore, the watchdog always gets Error 401 (unauthorized) instead of 400 (bad request), assumes that FreeSWITCH has entered the lockup state and restarts it.