Revert "o Annotated lock-like functions in net.h."

This reverts commit e7866b5943c641ca19b19747383bc1f3143b4a8e.