New idea, reverted callback
Accept was extracted into an seperate thread
Some more ideas for the frame reading problem
Added nonblocking
The first bytes are read from the network and stored in a buffer
Some tries with timeout magic
The read buffer is not large enough for the expected content
Fragmented TCP packets can be put together