Merge pull request #4 from Mendroyxx/master

Correction of the test (adding 'System.out.println()').
fix merges
debug parsing request + test and exception catching
Testing and updating the function 'getMessages(String id)'