Remove getConfiguration from XMPPConnection

made getConfiguration protected

remove white spaces

added javadoc