fix(client): dynamic protocol for socket.io
fix(client): dynamic protocol for socket.io

Look up location.protocol for socket.io,
in order to use Karma in https-only enviournment

Closes #1400

Sanjo/karma,astorije/karma,karma-runner/karma,ernsheong/karma,nmalaguti/karma,karma-runner/karma,harme199497/karma,tomkuk/karma,kahwee/karma,kahwee/karma,Sanjo/karma,oyiptong/karma,tomkuk/karma,simudream/karma,gayancliyanage/karma,brianmhunt/karma,aiboy/karma,buley/karma,KrekkieD/karma,nmalaguti/karma,unional/karma,timebackzhou/karma,chrisirhc/karma,timebackzhou/karma,Sanjo/karma,pedrotcaraujo/karma,rhlass/karma,clbond/karma,mprobst/karma,Klaudit/karma,Klaudit/karma,wesleycho/karma,marthinus-engelbrecht/karma,SamuelMarks/karma,KrekkieD/karma,jjoos/karma,gayancliyanage/karma,vtsvang/karma,Sanjo/karma,harme199497/karma,chrisirhc/karma,IveWong/karma,marthinus-engelbrecht/karma,patrickporto/karma,codedogfish/karma,wesleycho/karma,gayancliyanage/karma,david-garcia-nete/karma,clbond/karma,Klaudit/karma,xiaoking/karma,johnjbarton/karma,IsaacChapman/karma,shirish87/karma,aiboy/karma,panrafal/karma,codedogfish/karma,wesleycho/karma,pedrotcaraujo/karma,jjoos/karma,simudream/karma,aiboy/karma,Klaudit/karma,tomkuk/karma,skycocker/karma,hitesh97/karma,astorije/karma,nmalaguti/karma,johnjbarton/karma,jamestalmage/karma,wesleycho/karma,david-garcia-nete/karma,panrafal/karma,ernsheong/karma,Dignifiedquire/karma,xiaoking/karma,hitesh97/karma,unional/karma,pmq20/karma,IsaacChapman/karma,patrickporto/karma,timebackzhou/karma,unional/karma,vtsvang/karma,marthinus-engelbrecht/karma,oyiptong/karma,marthinus-engelbrecht/karma,mprobst/karma,harme199497/karma,patrickporto/karma,Dignifiedquire/karma,vtsvang/karma,powerkid/karma,stevemao/karma,hitesh97/karma,kahwee/karma,buley/karma,karma-runner/karma,youprofit/karma,aiboy/karma,IsaacChapman/karma,pedrotcaraujo/karma,codedogfish/karma,ernsheong/karma,tomkuk/karma,oyiptong/karma,jjoos/karma,karma-runner/karma,jamestalmage/karma,Dignifiedquire/karma,IveWong/karma,maksimr/karma,clbond/karma,SamuelMarks/karma,powerkid/karma,david-garcia-nete/karma,KrekkieD/karma,rhlass/karma,rhlass/karma,Dignifiedquire/karma,clbond/karma,maksimr/karma,brianmhunt/karma,xiaoking/karma,stevemao/karma,jjoos/karma,youprofit/karma,maksimr/karma,johnjbarton/karma,skycocker/karma,chrisirhc/karma,stevemao/karma,nmalaguti/karma,SamuelMarks/karma,pmq20/karma,shirish87/karma,xiaoking/karma,chrisirhc/karma,IveWong/karma,jamestalmage/karma,hitesh97/karma,skycocker/karma,simudream/karma,buley/karma,brianmhunt/karma,pmq20/karma,KrekkieD/karma,astorije/karma,pedrotcaraujo/karma,harme199497/karma,johnjbarton/karma,patrickporto/karma,IsaacChapman/karma,powerkid/karma,vtsvang/karma,jamestalmage/karma,powerkid/karma,mprobst/karma,kahwee/karma,gayancliyanage/karma,timebackzhou/karma,brianmhunt/karma,unional/karma,rhlass/karma,youprofit/karma,youprofit/karma,stevemao/karma,panrafal/karma,IveWong/karma,skycocker/karma,buley/karma,oyiptong/karma,pmq20/karma,astorije/karma,codedogfish/karma,simudream/karma,shirish87/karma