Renamed prepare method
Made setContent method public and moved Content-Length where it belongs to