fix installation of obfsproxy from torproject's repository; refactoring