wip: sockets.  remove temporary params globally (might want them back).  message count now incraments properly