improve README
add http error codes and messages
fix makefile dependency