Technically, accept() sockets should inherit some properties from the listen() socket although that may depend on the operating system. Another potential issue is that some setsockopt() options usually need to be set prior to other socket-related calls, otherwise they won't be set. I have made a change to the next beta so that the accept socket itself is changed the moment it is accepted and that seems to be working.