ispdy: internalize some functions

/cc @georgekola