added sample config file

added client/server switch

added example usage for client

added catch so that requests made from the client's computer will still be approved, despite the 127.0.0.1 IP.

added debug flag