Properly use SocketOptions in Stress example

JAVA-214 #fixes