Cleaning Connection.py, adding HeaderFormatException

Also now ignoring vim swap files.