Complete net code

- Add pipeHandle
- Message handling complete
- Code up pselect code
- Pipe to thread