make server a drop-in replacement