Wrap JSON.parse into try/catch to handle response with html contents
add support of arguments captureHeaders, captureContent, captureBinaryContent to startHAR
Merge pull request #10 from jirfag/master

Wrap JSON.parse into try/catch and make additional flags to startHAR