Collapse Socket and StoreState into ServerState