Support casted functions in RubyC method handler

References #697
Disallow absolute URLs in frames anchor handling