Source: Sox interested in Pirates' Hanrahan