Add callback to server for lowid, move assert function to libed2k namespace
Fix warnings in test