raise error if proxy target is not available
refactor proxy
hasattr tests for proxy
modify git ignore