Fixing 'Content-Length' bug

Adding Content-Length header when using form options.