Code for the PiSurveil camera server.