Add disable sockets method handler.