Upgraded for http-kit 2.1.1

The demo app was for 2.0.RC1 but the API has changed in the meantime so it was necessary to update it accordingly.