fix return type of SafeHttpServer.close

changed it from void to Future to avoid crashes
Merge pull request #28 from Tomen/master

fix return type of SafeHttpServer.close