Edited some logic around for the instruction parser function to help make code more robust. did some additional testing and have a successful connection all the way to windows joy.cpl driver. However, program is still buggy and i don't know exactly how the websocketes is implemented. another task for tomorrow!