added ssl and socket-options config tests for client

I see you also made some changes to the version. Can you move this to a separate PR?