wrapped async server methods with try catch blocks;removed connection hit and data sent debug statements from the HTTP server
added mime-type entry for .jpg