Added support for parameters in har creation

Send options={"captureHeaders":"true"} to capture headers for example.