}
private static List<InetSocketAddress> extractSources(String sourcesRawData) {
List<InetSocketAddress> sources = new ArrayList<InetSocketAddress>();
if (sourcesRawData != null) {
Pattern s = Pattern.compile(SOURCES_PATTERN, Pattern.CASE_INSENSITIVE);
Matcher m = s.matcher(sourcesRawData);
while (m.find()) {
String hostName = m.group(1);
int port = Integer.parseInt(m.group(2));
sources.add(InetSocketAddress.createUnresolved(hostName, port));
}