Add copy
Set content length header when payload is NULL
Add delete functions