Add more supported commands for get/setsockopt().
Handle the oidfmt special case for sysctl().
Fix target_flock struct to match target.