Available SocketOptions on ServerSocket instances.
Looking at the code I can't figure out why on earth it isn't allowed to set for instance the TOS socket option on a ServerSocket. A setTrafficClass(int class) on the ServerSocket wouldn't be rocket science to implement on the existing code. However it is quite a bit of work to subclass SocketImpl and do all the native stuff just to get this option set on the serversocket.
Since ServerSocket doesn't inherit from a Socket nor implements the SocketOptions interface it is impossible to set other options on the ServerSocket. One can certainly wonder why this restriction has been implemented and more importantly how can it be solved? I.e. is there a feasable solution to this problem that doesn't involve implement the entire stack by my self.