Added basic request/response logging.