added inital version of tls test

added a test that will check for man-in-the-middle attacks on
ssl/tls connections on arbitrary hosts and ports
updated for pep compliance
bug and typo fixes
Merge pull request #1 from ben-jones/add_tls_test

Added a test to check for ssl man-in-the-middle attacks