Bug 912541 - Make the performance test work again

* set the bool pref to be able to use TCPSocket
* dirty hack to be able to call send on the TCPSocket even when Object.create
  was used