update

1. update Server.checkOrigin func
2. update Utils.getDomain func
3. add server Spec test case
4. rebuild localdb