add gitignore
catch 500 errors
modify request as little as possible after Client.Do