Fix failing proxy test

   * First commit cleans up deprecated warnings.
   * Second commit fixes a failing test.
   * Third commit adds Travis-CI support. This will require action by @carllerche in order for this to actually work.