Modified the build system to use a git submodule for the smdp
dependency.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>
Check that the smdp client was successfully created before using it.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>