error handling introduced into calls to scrape server.

scrape-functions made more flexible -> work with process or buffer arg or
current-buffer.