verify that the client and server version match.

closes #15
Merge pull request #32 from senny/verify_server_version

verify that the client and server version match.