Improved EndPoint Match and GetHashCode functions

Also added a .gitignore file to the repository.
Fixed a bug in the ExitGame protocol and added more logging.