Refactor SOMSP client

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Sync options with other projects

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Link explicitely with pthread (SOMSP client thread)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>