Fix same problem also for other bsock classes.

If we ever implement them and start using them we will run into the same
problems as we have seen for the used BSOCK_TCP class.