Wrote the client http transport and the necessary test.