ds_rds_session

The ds_rds_session is heavily inspired by ds_sds_session. It follows similar patter of work with the session and introduces alike functions.

This pull request also introduces more error checking than what we have previously had in rds.c file.