writeLine -> overwriteLine

This looks significantly better for quickly-returning things, such as
proxy connections.
Move line killing logic into a separate method