Fixed SSLWantRead error

fixes #753