Bosnia says it is struggling to cope with influx of people fleeing war and poverty and taking Balkan route to Europe.