Added possibility to setup additional SSL options. Refactored client mode WebSocket instance creation.