Fixed nullPointerException on empty response

Applies to #116
Improved exception handling on socket disconnect
Added oneshot login using nextChallenge data
Added oneshot login to WhatsTest project