sgwproxy: moved type-specific handlers into new files