Merge pull request #1 from boiving/master

v0.6 first commit
Merge pull request #2 from boiving/master

hCommand update
add support for external actors
HUB-47 : Add simple authentification system : user=password. Solved issue with gateway looping
HUB-47: Solved issue on connection status on login failed
Merging with boiving
Minor bug fix on basic authentication. Added main file to use it with external actors
Merge pull request #3 from bnadim/master

Add auth actor + boiving updates
code refactoring
HUB-88 : Replece array index delete by splice
HUB-88 : Test if socket is open before calling function close
HUB-88 : Avoid duplicate outboundadapters
HUB-88 : in session, checkFilter become validateFilter