Convert stream to HNI

Summary: fixes #3966

Reviewed By: @ptarjan

Differential Revision: D1615755
Convert socket to HNI

Summary: fixes #3951

Reviewed By: @ptarjan

Differential Revision: D1615554