Restructure program to make use of poll() library
Add pseudocode restructure using select instead of multithreading
Refine pseudocode
Finish basic proxy without threading