Fixed test_many_sockets

* failed on systems where process could not allocate 1024 sockets by default
* include path for platform.hpp was wrong; fixed it