Handle exception

Handle exception when the server does not return the expected header "server"