fixed port input validation to prevent code injection
fixed another code injection vulnerability
Merge pull request #4 from opentechinstitute/security-fix

fixed port input validation to prevent code injection

Tested by areynold
Minor typo in readme
Merge branch 'single-key' into 1.2