Are you using 1v51 of Espruino? That had some changes that really improved stability. I've also done a few more tweaks that'll appear in 1v52 and that should improve matters fuirther.
Also are you sure you're connecting to VBat and not 3.3v, as the 3.3v regulator won't supply enough power for the CC3000...
As far as the request headers, they're pre-parsed in req.headers / res.headers:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Are you using 1v51 of Espruino? That had some changes that really improved stability. I've also done a few more tweaks that'll appear in 1v52 and that should improve matters fuirther.
Also are you sure you're connecting to VBat and not 3.3v, as the 3.3v regulator won't supply enough power for the CC3000...
As far as the request headers, they're pre-parsed in
req.headers
/res.headers
:and
The only thing you can't do currently is easily get the 'body' of the HTTP server request.