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
Reverting path change on platform.hpp, this broke some builds
Merge pull request #758 from hintjens/master

Fixed test_many_sockets