Update ws.d.ts

Typescript specification says:

"When writing overloaded declarations such as the one above it is important to list the non-pecialized signature last. This is because overload resolution (section 4.12.1) processes the candidates in declaration order and picks the first one that matches."

Fixed this for Server and WebSocket class
Merge pull request #2204 from Poupou/patch-1

Fixed specialized declaration ws.d.ts