Add missing socket options.