Modified Connection class

Change the constructor for Connection to initialize with a messenger and
a WebClient;
Remove exception handling from doPost method;
Modified the Core class

Add debug informations;