Add socket options to listeners