Fix a problem where DefaultChannelId prevents Netty 5 from running on Android

- Fixes #2109
- Use reflection to find the current PID