check protocol to ws
remove print, fix protocol
Merge branch 'master' of https://github.com/avelino/mining