They usually take about a week or so to acclimate to their new surroundings. Farmed bps aren't necessarily bad if they've been treated for parasites and whatnot.

As far as headshyness goes, don't worry about it- all bps have different personalities and temperments. Also, they tend to be less snippy as they mature and grow; so don't worry and just let him be a ball python!