Changed EventEmitter inheritens to Node0.10 style.
Add rejectUnauthorized support (ref https://github.com/danwrong/restler/issues/115)