testing: fix resource warning with ManagedHTTPServer

We fork a subprocess to serve requests, but the listening socket is bound
in server constructor and inherited by subprocess. With this pattern, we
have to explicitly close the socket from parent process to prevent the
leak.
13 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed SlapOS-Master.UnitTest-Master

01:18:00

passed SlapOS.Eggs.UnitTest-Master.Python2

00:12:46

passed SlapOS.Eggs.UnitTest-Master.Python3

00:23:56

failed SlapOS.Eggs.UnitTest-Master.Python2

01:15:30

failed SlapOS.Eggs.UnitTest-Master.Python2

00:10:17

failed SlapOS.Eggs.UnitTest-Master.Python2

01:05:01

passed SlapOS.Eggs.UnitTest-Master.Python2

00:20:34

passed SlapOS.Eggs.UnitTest-Master.Python3

00:20:50

passed SlapOS.Eggs.UnitTest-Master.Python3

passed SlapOS.Eggs.UnitTest-Master.Python3

00:23:15

passed SlapOS.Eggs.UnitTest-Master.Python3

00:14:13

passed SlapOS.Eggs.UnitTest-Master.Python3

00:22:08

passed SlapOS.Eggs.UnitTest-Master.Python3

00:21:23