add jasmine test for socks.ts
Merge branch 'master' into socks-tests