add set/get sockopt glue (so that ping works)