Removed PIMPL, which was not needed
Implemented TGLBaseImpl.
This imlementation includes thread_proc (a loop for send and recv
        queues).
TODO: Use socket polling to get rid of busy wait.