Simplify adding content-length header

Use form-data submit method, thanks @jmblog!