[IOMultiplexerV2] moved iosocket_wants_reads && iosocket_wants_writes into own functions