use application port instead of hardcoded 3001
Merge pull request #15 from invisiblejs/socketfix

Use application port instead of hardcoded 3001