Make tcp close connection when client closes it
Fix libusb overflow on bulk receive
Add checking of packet completion
Make http mark packets and messages completed
Remove unused function
Make internal http function static
Make http remember prior found packet sizes
Fix not exiting parent after fork()
Wait until all threads are staled before dropping data
Refactor some stuff
Add extra logging
Add tread ID to logged messages
Add nanosleeps when USB has staled