[SJS-170][TEST][WIP]: Updated socket test script
[SJS-187][BUG]: Fix for socket connection error not fired when reconnection is set to false