How ugly would it be to add this to the handler instead? As it stands, the connection doesn't know about frames.