Moved RP to getStreamFromStream()
Moved RP over to functions provided in network library
RP closes sd on shutdown.
Moved RP into its own module