Added support for SSL and open/read timeouts to be set as parameters when initializing.

See issues #4 and #5.