proof of concept can now handle upwards of 19k messages per second
note: set connection setting before connecting socket. this makes a huge difference