Set SO_REUSEADDR by default in libnative.

Fixes std::net test error when re-running too quickly.
auto merge of #11845 : xales/rust/libnative, r=alexcrichton

Fixes std::net test error when re-running too quickly.

Suggested by @cmr