IPC fixes and tests

* Fixed accepting UDP handles sent over pipes
* Added more IPC tests
* Cleanup IPC tests