Seems to work for me?
$ openssl s_client -connect irc.chat.twitch.tv:6697
-snip-
---
CAP REQ :twitch.tv/tags twitch.tv/commands
:tmi.twitch.tv CAP * ACK :twitch.tv/tags twitch.tv/commands
PASS oauth:-snip-
NICK 3v
:tmi.twitch.tv 001 3v :Welcome, GLHF!
:tmi.twitch.tv 002 3v :Your host is tmi.twitch.tv
:tmi.twitch.tv 003 3v :This server is rather new
:tmi.twitch.tv 004 3v :-
:tmi.twitch.tv 375 3v :-
:tmi.twitch.tv 372 3v :You are in a maze of twisty passages, all alike.
:tmi.twitch.tv 376 3v :>
@badges=staff/1;color=#201C2B;display-name=3v;emote-sets=0,33,46,92,237,376,469,554,793,1871,2126,2263,3082,3742,4132,4578,5057,5265,7478,9318,10503,10681,11232,11550,11958,12239,12272,12673,12681,14082,14290,14876,15162,15886,16233,16712,17579,18191,18496,19151,20102,21958,21985,21988,22000,22036,22460;user-id=17089325;user-type=staff :tmi.twitch.tv GLOBALUSERSTATE
PRIVMSG #3v :/w ohbot #3v !test
@badges=;color=#008000;display-name=ohbot;emotes=;-snip-;turbo=0;user-id=62809083;user-type= :ohbot!ohbot@ohbot.tmi.twitch.tv WHISPER 3v :Test reply sent to 3v on 3v at torstai 13. huhtikuuta 2017 12.51.48 []