Tighten type bounds for assertInstanceOf

This makes it possible to catch checks for completely unrelated types
at compile time. E.g.,

    assertInstanceOf("foo", Integer.class)

is a compile-time error.
quick&dirty http servlet binding support

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>