The European Commission has claimed that there are problems in the UK's implementation of EU rules on the confidentiality of communications.