Fix profile.js v2

- Now only display error in console if debug is set to true.
- Remove implicit variable declaration of matches & user.
- Replace https.request by https.get for semantic.
- Update the way request data is acquired:
As per the man, the event 'data' isn't necessarily giving the full body request but a chunk.
We only can be certain a request has been completed under the 'end' event. Therefore, we should aggregate chunks and parse the whole data into JSON after that.