- modified ACKs callback to be a typedef
- updated socket constructor to also take a token