Endpoint Aware RapidSMS relay app

Ported from the vumi-libya project.