Make sockopt() handle a few more socket levels