Created port.h, plus some code removal and refactoring.

Why not /net/http/server.h then?