a client and server http implementation