Remove redundant cast
Merge pull request #8 from alexander-myltsev/remove-cast

Remove redundant cast
Fixed socket read. Issue #7
Minor code style fix
Updated readme
Code style refactoring
Scaladoc fix