fixed deletion of sockets when they aren't needed any more; Issue #1 on github
changed format of frame headers, removing the space between colon and value (didn't work with ActiveMQ)