Code

frontend/connection: Try to handle as much as possible in read().