Allow multiple peers/engines in a single process

Seem to have fixed all segfaults, make sure to use multi-threaded boost libraries if you run into issues