added http error codes to client.py, updated gitignore to filter secure.py and *.log files