RakNet Integration

I’m trying to integrate RakNet into UE4 and I figured out how to do some of it but I’m not entirely sure how to slip it in such that the replication and rpc mechanisms can transparently use it.
I know I will need to create a SocketSubSytem and Socket classes.
I’m think I could in the module setup just register the the RakNet subsystem with the PLATFORM_SOCKETSUBSYSTEM define but I feel thats not the way to do it.
I’ve looked over the Steam Online subsystem to gathered a lot of how to do it and I’m thinking that I need to also add a Custom NetDriver class.

Can someone fill in the blanks and what not.