remove IOException from Session API; wrap instead

- report getCause() for RainwaveException when it exists
check http response code for authentication reponse

fix issue #26