Revert "changes to thread code (directly use boost::thread)"

This reverts commit bb95c617bc2d02bb9dca936ec88a5d56901df57f.

Conflicts:
	src/net.cpp