What if 'ok' isn't a number int? Lets be a little paranoid in interpreting server returns. OTOH, I'm not sure what the right response is if the server hands us back something insane.