fixes socket reopening in MDCliAPI
initial worker API
creates MDP protocol definition file
implements s_mdwkrSendToBroker; adds comment to MDPDef.hs