Added method to get request headers