Implement base_path option

implements a base_path option for use behind reverse proxy servers with URI routing.  Fixes #4