[protected]
Try to receive data from the server. Returns -1 on errors. Returns 1 if there are not bytes to read. Returns 2 if the header is incomplete. Returns 3 on auth not valid. Returns 0 on success.
[private]