allow passing :session_id and :session_passwd options
add support for session_id and passwd option on jruby
prevent errors for passwords with null bytes
add type-checks
remove unnecessary typecheck
Merge pull request #42 from avalanche123/specify-session-id

allow passing :session_id and :session_passwd options