Serialize socket classes with Http::Options (fixes #25)