No error handling when server returns error code; just forward the exception.
Improved error message.
Merge .gitignore form master branch.
Merged missing config files from master.