I'm of the opinion that, if the client is utilizing your time, then you should be getting paid for it. In any field there are things that you should already know, but what you're describing is getting up to speed on the client's specific environment. In my mind, those are billable hours, since you would have no reason to have this specific knowledge if not for this client.