Code Cleanup

Socket.getInputStream() never returns null (see docs).
Fixed typo
Merge pull request #90 from BjoernAkAManf/patch-3

Code Cleanup