#SB-267: Create a RestClient for the non-artifact REST API

Minor polishing.
#SB-267: Create a RestClient for the non-artifact REST API

- Added protocol support.
- Fixed the base URL more consistently.
#SB-118 Implement artifact metadata support