.net subset compatibilty and JIT fixes

- ThreadPool update to support .net 2.0 subset
- Recommended Func<> replacements as described in this thread
https://github.com/sta/websocket-sharp/issues/23