Libya is a transit route for migrants, many from sub-Saharan Africa, fleeing to Europe in the hopes of escaping conflict and poverty.