http: Catch socket errors when handling websockets (fixes #571)
local: Make clear command mesages more clear