::FFI::Socket; handle some common opt -> type maps