Refactoring BIO: Adapt BIO_s_datagram and all that depends on it