Adding registration request and response

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>