Fixed some more warnings in GCC
Removed threading and semaphores for now
Added automatic pong reply to server ping
Have some messages printing. Still need to weed out the segfault