Adding version in registration message.

Signed-off-by: Jayanga Dissanayake <jsdjayanga@yahoo.com>
Updated to extract patch details from the server.

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