Convert server to HNI

Summary: fixes #3948

Reviewed By: @ptarjan

Differential Revision: D1615453