[FIX] Reuse address in Server
[FIX] Reuse address in Server

The root cause is that when you close server socket it remains in a timeout state for a period of time and restart fails, because it is not possible to bind to a socket in timeout state.
Enabling SO_REUSEADDR prior to binding the socket using bind allows the socket to be bound even though a previous connection is in a timeout state.

Thanks to Igor Farinic

dimitarp/basex,ksclarke/basex,dimitarp/basex,dimitarp/basex,JensErat/basex,vincentml/basex,drmacro/basex,vincentml/basex,dimitarp/basex,dimitarp/basex,deshmnnit04/basex,drmacro/basex,BaseXdb/basex,drmacro/basex,joansmith/basex,ksclarke/basex,JensErat/basex,joansmith/basex,ksclarke/basex,drmacro/basex,drmacro/basex,vincentml/basex,ksclarke/basex,BaseXdb/basex,vincentml/basex,drmacro/basex,deshmnnit04/basex,vincentml/basex,JensErat/basex,JensErat/basex,dimitarp/basex,deshmnnit04/basex,vincentml/basex,joansmith/basex,dimitarp/basex,BaseXdb/basex,deshmnnit04/basex,dimitarp/basex,dimitarp/basex,BaseXdb/basex,BaseXdb/basex,joansmith/basex,drmacro/basex,JensErat/basex,ksclarke/basex,BaseXdb/basex,drmacro/basex,drmacro/basex,joansmith/basex,joansmith/basex,drmacro/basex,vincentml/basex,dimitarp/basex,deshmnnit04/basex,drmacro/basex,ksclarke/basex,joansmith/basex,joansmith/basex,deshmnnit04/basex,dimitarp/basex,JensErat/basex,JensErat/basex,ksclarke/basex,BaseXdb/basex,BaseXdb/basex,vincentml/basex,deshmnnit04/basex,joansmith/basex,joansmith/basex,deshmnnit04/basex,deshmnnit04/basex,ksclarke/basex,deshmnnit04/basex,JensErat/basex,JensErat/basex,joansmith/basex,BaseXdb/basex,ksclarke/basex,ksclarke/basex,ksclarke/basex,vincentml/basex,dimitarp/basex,deshmnnit04/basex,JensErat/basex,drmacro/basex,JensErat/basex,BaseXdb/basex,joansmith/basex,deshmnnit04/basex,BaseXdb/basex,JensErat/basex,vincentml/basex,vincentml/basex,ksclarke/basex,BaseXdb/basex,vincentml/basex