Global API error handling, fix error formatting
Vps: improve error handling, change nameserver using the API