added request.getHeaders() api