added nullchecks to get plugin page
changed error message for plugin not found
extracted stream reader logic to separate method
Merge pull request #8 from IrradiatedGames/refactor-client-code

Refactor client code