works with cmdSocket, but I'm pretty sure we're supposed to be using an ephemeral socket so I need to figure out how to connect and send from the client instead of sending from the server. This is probably a lot simpler than I'm making it.