Networkprotocols to decrease complexity.
With that I found a fatal error in my authentification process,
previously I didn't flush the OutputStream.