Add proxy endpoint as suggested, fixes #24
Handle proxy request error