Add basic getProfile/1 function.

Right now getProfile/1 is using inets/httpc to fetch the profile json,
this needs to be converted over to a manual socket connection.