Various fixes

- Made interruptFlag protected
- Fixed missing inheritance in UdpSocket