Fix wrong usage of Buffer.concat().
Close socket when disconnected.
Change CALL_ID max to 0x7fffffff.