Made the client package checkstyle compliant
Fixed a big in the ClientEndpoint caused by the checkstyle improvement
Merge pull request #1831 from pveentjer/checkstyle/client

Checkstyle compliance of the client package