Fix msgbroker reconnections and ulimit
Merge pull request #232 from willyaranda/fix_ulimit_and_msgbroker_branchDevelop

Fix msgbroker reconnections and ulimit
merge v1-fix: added a way to return a certificate channel
fixed caDir error
fixed path separator for os != unix
Includes Guillermo comments and fixes for the last PR
Merge pull request #236 from mcjimenez/develop

Uplift from v1-fix: add a way to return a certificate chain
Ensure query.channelIDs are really arrays before handling it